import App from './App'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false

// 引入全局uView
import uView from '@/uni_modules/uview-ui'

//引入路由配置
 import router from '@/common/router'
 import { RouterMount } from '@/uni_modules/uni-simple-router/index.js'
//全局引入组件
import navBar from '@/components/navBar.vue'
Vue.component('navBar',navBar)
//全局引入组件end
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif